using System;
using System.Collections.Generic;
using System.Text;

using System.Drawing.Imaging;

namespace PotonViewer
{
    public class ImageInfo
    {
        public int Quality
        {
            get { return m_nQuality; }
            set { m_nQuality = value; }
        }

        public ImageFormat ImageFormat
        {
            get { return m_ImageFormat; }
            set { m_ImageFormat = value; }
        }

        public PixelFormat PixelFormat
        {
            get { return m_PixelFormat; }
            set { m_PixelFormat = value; }
        }

        public bool IsAlpha
        {
            get { return (m_PixelFormat & PixelFormat.Alpha) != 0; }
        }

        public string FileName
        {
            get { return m_sFileName; }
            set { m_sFileName = value; }
        }

        protected string m_sFileName;
        protected ImageFormat m_ImageFormat;
        protected PixelFormat m_PixelFormat;
        protected int m_nQuality = 100;
    }
}
